#include <stdio.h>

int function(int *a){
    *a = 10-5;

    return 0;
}

int main() {
    int x=10;
    printf("before:%d\n",x);
    function(&x);
    printf("after:%d\n",x);
    return 0;
}